7cfe374
@@ -677,6 +677,9 @@
private void dropSessionPaths(Configuration conf) throws IOException {
     if (localSessionPath != null) {
       FileSystem.getLocal(conf).delete(localSessionPath, true);
     }
+    if (this.getTmpOutputFile().exists()) {
+      this.getTmpOutputFile().delete();
+    }
   }
 
   /**
